package com.spring.demo.core.service;

import java.util.List;

import com.spring.demo.core.entity.Member;

/**
 * member service
 * 
 * @author sean
 * 
 */
public interface IMemberService {

	/**
	 * 保存member
	 * 
	 * @param member
	 */
	void saveMember(Member member);

	/**
	 * 根据id查询 member
	 * 
	 * @param id
	 * @return
	 */
	Member getMemberById(Long id);
	
	List<Member> getAllMembers();
}
